package org.csu.laboratoryequipment.service;

import org.csu.laboratoryequipment.common.CommonResponse;
import org.csu.laboratoryequipment.entity.CompKeyWord;
import org.csu.laboratoryequipment.entity.History;
import org.csu.laboratoryequipment.entity.Result;

import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

public interface ResultService {

    public CommonResponse<List<Result>> getResult();

    List<CompKeyWord> getCompKeyAndComNumBySeedWord(String seedWord) throws Exception;
    void addRecord(String seedWord,List<CompKeyWord> result);

    List<Result> searchByseedWord(String seedWord);
}
